import LayoutBase from '@/page/layout/base'
import SliderOcean from '@/page/layout/slider/ocean'

export default [
  {
    path: '/ocean',
    component: LayoutBase,
    children: [
      {
        path: '/ocean',
        component: SliderOcean,
        children:[
          {
            path: '/ocean/billCustomsDeclaration',
            name: 'bill',
            component: () => import(/* webpackChunkName: "bill" */'@/views/ocean/ocean-bill'),
            meta: {title: '海关数据-提单及报关单'}
          },
          {
            path: '/ocean/statistics',
            name: 'bill',
            component: () => import(/* webpackChunkName: "bill" */'@/views/ocean/ocean-statistics'),
            meta: {title: '海关数据-提单及报关单'}
          },
          {
            path: '/ocean/buyerSeller',
            name: 'bill',
            component: () => import(/* webpackChunkName: "bill" */'@/views/ocean/ocean-buyerseller'),
            meta: {title: '海关数据-买家/卖家名录'}
          },
          {
            path: '/ocean/customsData/notBuy',
            name: 'notBuy',
            component: () => import(/* webpackChunkName: "customsData" */'@/views/ocean/notBuy'),
            meta: {title: '海关数据-未购买'}
          },
          {
            path: '/ocean/customsData/timeUp',
            name: 'timeUp',
            component: () => import(/* webpackChunkName: "customsData" */'@/views/ocean/timeUp'),
            meta: {title: '海关数据-时效过期'}
          }
        ]
      }
    ]
  },
  {
    path: '/ocean/customsData/detail/:id/:basename',
    name: 'customsData',
    component: () => import(/* webpackChunkName: "customsData" */'@/views/ocean/detail'),
    meta: {title: '海关数据-详情'}
  },
  {
    path: '/ocean/customsData/update',
    name: 'customsData',
    component: () => import(/* webpackChunkName: "customsData" */'@/views/ocean/update'),
    meta: {title: '海关数据-更新时间'}
  },
  {
    path: '/customs/table', // 海关数据
    component: () => import(/* webpackChunkName: "customer" */'@/views/ocean/table/table'),
    name: '海关',
    meta: {title: '海关数据（图表）'}
  },
  {
    path: '/customs/exitTable', // 海关数据
    component: () => import(/* webpackChunkName: "customer" */'@/views/ocean/table/exitTable'),
    name: '海关',
    meta: {title: '海关数据（图表）'}
  },
  {
    path: '/customs/table/detail', // 海关数据（月份分析）
    component: () => import(/* webpackChunkName: "customer" */'@/views/ocean/table/detail'),
    name: '海关',
    meta: {title: '海关数据-图表-月份'}
  }
]
